package com.zrf.pojo;

/**
 * Refund entity. @author MyEclipse Persistence Tools
 */

public class Refund implements java.io.Serializable {

	// Fields

	private Integer rid;
	private User userByUid;
	private User userByMid;
	private Double refundmoney;
	private String state;

	// Constructors

	/** default constructor */
	public Refund() {
	}

	/** minimal constructor */
	public Refund(Integer rid) {
		this.rid = rid;
	}

	/** full constructor */
	public Refund(Integer rid, User userByUid, User userByMid,
			Double refundmoney, String state) {
		this.rid = rid;
		this.userByUid = userByUid;
		this.userByMid = userByMid;
		this.refundmoney = refundmoney;
		this.state = state;
	}

	// Property accessors

	public Integer getRid() {
		return this.rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public User getUserByUid() {
		return this.userByUid;
	}

	public void setUserByUid(User userByUid) {
		this.userByUid = userByUid;
	}

	public User getUserByMid() {
		return this.userByMid;
	}

	public void setUserByMid(User userByMid) {
		this.userByMid = userByMid;
	}

	public Double getRefundmoney() {
		return this.refundmoney;
	}

	public void setRefundmoney(Double refundmoney) {
		this.refundmoney = refundmoney;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

}